<?php

use think\Route;
//可绑定模块
//Route::bind('api');
//初始化
Route::get('testData','api/Test/importData');
Route::get('testAliPay','api/Test/testAliPay');
Route::get('testWxPay','api/Test/testWxPay');
Route::get('getCode','api/NoSign/getCode');
Route::post('saveWechatUser','api/NoSign/saveWechatUser');

Route::any('wx_notify','api/NoSign/wx_notify');
Route::any('ali_return','api/NoSign/ali_return');
Route::any('ali_notify','api/NoSign/ali_notify');
//首页
Route::get('getBanners','api/Index/getBanners');
Route::get('getCat','api/Index/getCat');
Route::get('getQuestion','api/Question/getQuestion');
Route::get('getHomeQuestion','api/Index/getHomeQuestion');
Route::get('getNewQuestion','api/Index/getNewQuestion');
Route::get('getQuestionList','api/Question/getQuestionList');
Route::get('getQuestionDetail','api/Question/getQuestionDetail');
Route::post('doQuestion','api/Question/doQuestion');
Route::post('finishQuestion','api/Question/finishQuestion');

//订单
Route::get('getMyOrder','api/Order/getMyOrder');
Route::get('getOrderStatus','api/Order/getOrderStatus');
Route::get('detailOrder','api/Order/detailOrder');
Route::post('postOrder','api/Order/postOrder');
Route::post('payOrder','api/Order/payOrder');


//回调
Route::any('payNotifyJob','api/JobApi/payNotifyJob');

//个人中心
Route::get('getOwn','api/Member/getOwn');
Route::get('checkLogin','api/Member/checkLogin');
Route::post('setInfo','api/Member/setInfo');
Route::any('saveFile','api/Member/saveFile');
Route::post('saveBaseUser','api/Member/saveBaseUser');
Route::post('saveUser','api/Member/saveUser');
Route::post('doLogin','api/Member/doLogin');
Route::get('getComments','api/Member/getComments');
Route::post('addComments','api/Member/addComments');
Route::post('addReply','api/Member/addReply');
Route::post('addCollect','api/Member/addCollect');
Route::get('getUserCode','api/Member/getUserCode');
Route::get('getCustomerPhone','api/Member/getCustomerPhone');
Route::post('saveWechatUser','api/Member/saveWechatUser');
Route::post('saveCommunicate','api/Member/saveCommunicate');



